package com.czn.entity;

import org.beetl.sql.core.annotatoin.Table;


/*
 *
 * gen by beetlsql 2021-04-14
 */
@Table(name = "hospital.patient")
public class Patient {

    // alias
    public static final String ALIAS_id = "id";
    public static final String ALIAS_age = "age";
    public static final String ALIAS_appointment_id = "appointment_id";
    public static final String ALIAS_hospitalization_id = "hospitalization_id";
    public static final String ALIAS_isout = "isout";
    public static final String ALIAS_sex = "sex";
    public static final String ALIAS_user_id = "user_id";
    public static final String ALIAS_address = "address";
    public static final String ALIAS_cert_id = "cert_id";
    public static final String ALIAS_drugsids = "drugsids";
    public static final String ALIAS_name = "name";

    /*
    主键
    */
    private Integer id;
    /*
    年龄
    */
    private Integer age;
    /*
    预约信息
    */
    private Integer appointmentId;
    /*
    住院信息
    */
    private Integer hospitalizationId;
    /*
    是否出院
    */
    private Integer isout;
    /*
    性别
    */
    private Integer sex;
    /*
    登录
    */
    private Integer userId;
    /*
    家庭住址
    */
    private String address;
    /*
    身份证
    */
    private String certId;
    /*
    药品信息
    */
    private String drugsids;
    /*
    姓名
    */
    private String name;

    /*
    	医生姓名
     */
    private String doctorName;

    public Patient() {
    }

    /**
     * 主键
     *
     * @return
     */
    public Integer getId() {
        return id;
    }

    /**
     * 主键
     *
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 年龄
     *
     * @return
     */
    public Integer getAge() {
        return age;
    }

    /**
     * 年龄
     *
     * @param age
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /**
     * 预约信息
     *
     * @return
     */
    public Integer getAppointmentId() {
        return appointmentId;
    }

    /**
     * 预约信息
     *
     * @param appointmentId
     */
    public void setAppointmentId(Integer appointmentId) {
        this.appointmentId = appointmentId;
    }

    /**
     * 住院信息
     *
     * @return
     */
    public Integer getHospitalizationId() {
        return hospitalizationId;
    }

    /**
     * 住院信息
     *
     * @param hospitalizationId
     */
    public void setHospitalizationId(Integer hospitalizationId) {
        this.hospitalizationId = hospitalizationId;
    }

    /**
     * 是否出院
     *
     * @return
     */
    public Integer getIsout() {
        return isout;
    }

    /**
     * 是否出院
     *
     * @param isout
     */
    public void setIsout(Integer isout) {
        this.isout = isout;
    }

    /**
     * 性别
     *
     * @return
     */
    public Integer getSex() {
        return sex;
    }

    /**
     * 性别
     *
     * @param sex
     */
    public void setSex(Integer sex) {
        this.sex = sex;
    }

    /**
     * 登录
     *
     * @return
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 登录
     *
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 家庭住址
     *
     * @return
     */
    public String getAddress() {
        return address;
    }

    /**
     * 家庭住址
     *
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 身份证
     *
     * @return
     */
    public String getCertId() {
        return certId;
    }

    /**
     * 身份证
     *
     * @param certId
     */
    public void setCertId(String certId) {
        this.certId = certId;
    }

    /**
     * 药品信息
     *
     * @return
     */
    public String getDrugsids() {
        return drugsids;
    }

    /**
     * 药品信息
     *
     * @param drugsids
     */
    public void setDrugsids(String drugsids) {
        this.drugsids = drugsids;
    }

    /**
     * 姓名
     *
     * @return
     */
    public String getName() {
        return name;
    }

    /**
     * 姓名
     *
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

	/**
	 * 医生姓名
	 *
	 * @return doctorName
	 */
	public String getDoctorName() {
		return doctorName;
	}

	/**
	 * 医生姓名
	 *
	 * @param doctorName
	 */
	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}


}
